include_directories(
    ${PROJECT_SOURCE_DIR}/framework/core
    ${PROJECT_SOURCE_DIR}/framework/inc/exinc
    ${PROJECT_SOURCE_DIR}/framework/inc/osinc
    ${PROJECT_SOURCE_DIR}/framework/src/osimp
)

set(LIB_HEADERS
    IBean.h
    IPlugin.h
    BeanManager.h
)
set(LIB_SRCS
    IPlugin.cpp
    IBean.cpp
    BeanManager.cpp
    Startup.cpp
)
add_library(core ${LIB_SRCS} ${LIB_HEADERS})

set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
target_link_libraries(core)
set_target_properties(core PROPERTIES OUTPUT_NAME "core")

